Ext.define('AM.view.group.GroupCentralView', {
    extend: 'Ext.panel.Panel',
    alias: 'widget.groupCentralView',

    requires: [
        'AM.view.group.GroupsView',
        'AM.view.group.GroupPropertiesView'
    ],

    closable: false,
    layout: {
        type: 'vbox',
        align: 'stretch'
    },

    initComponent: function() {
        Ext.apply(this, {
            items: [{
                title: 'Group List',
                xtype: 'groupsView',
                height: 200
            },{
                title: 'Group Properties',
                xtype: 'groupPropertiesView',
                height: 200
            }
            ]
        });

        this.callParent(arguments);
    }
});